type runtime._type
129 uses
runtime (current package)
alg.go#L223: func typehash(t *_type, p unsafe.Pointer, h uintptr) uintptr {
alg.go#L281: func mapKeyError2(t *_type, p unsafe.Pointer) error {
alg.go#L290: var t *_type
alg.go#L343: func reflect_typehash(t *_type, p unsafe.Pointer, h uintptr) uintptr {
alg.go#L390: func efaceeq(t *_type, x, y unsafe.Pointer) bool {
arena.go#L113: t := (*_type)(efaceOf(&typ).data)
arena.go#L231: return userArenaChunkBytes/goarch.PtrSize/8 + unsafe.Sizeof(_type{})
arena.go#L279: func (a *userArena) new(typ *_type) unsafe.Pointer {
arena.go#L367: func (a *userArena) alloc(typ *_type, cap int) unsafe.Pointer {
arena.go#L449: func (s *mspan) userArenaNextFree(typ *_type, cap int) unsafe.Pointer {
arena.go#L539: func userArenaHeapBitsSetSliceType(typ *_type, n int, ptr unsafe.Pointer, s *mspan) {
arena.go#L553: func userArenaHeapBitsSetType(typ *_type, ptr unsafe.Pointer, s *mspan) {
arena.go#L1117: *(*uintptr)(unsafe.Pointer(&s.largeType.GCData)) = s.limit + unsafe.Sizeof(_type{})
cgocall.go#L579: func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
cgocall.go#L615: it := *(**_type)(p)
cgocheck.go#L80: func cgoCheckMemmove(typ *_type, dst, src unsafe.Pointer) {
cgocheck.go#L92: func cgoCheckMemmove2(typ *_type, dst, src unsafe.Pointer, off, size uintptr) {
cgocheck.go#L113: func cgoCheckSliceCopy(typ *_type, dst, src unsafe.Pointer, n int) {
cgocheck.go#L136: func cgoCheckTypedBlock(typ *_type, src unsafe.Pointer, off, size uintptr) {
cgocheck.go#L235: func cgoCheckUsingType(typ *_type, src unsafe.Pointer, off, size uintptr) {
chan.go#L40: elemtype *_type // element type
chan.go#L375: func sendDirect(t *_type, sg *sudog, src unsafe.Pointer) {
chan.go#L388: func recvDirect(t *_type, sg *sudog, dst unsafe.Pointer) {
checkptr.go#L9: func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) {
error.go#L25: _interface *_type
error.go#L26: concrete *_type
error.go#L27: asserted *_type
heapdump.go#L119: t [typeCacheAssoc]*_type
heapdump.go#L164: func dumptype(t *_type) {
heapdump.go#L225: func dumpfinalizer(obj unsafe.Pointer, fn *funcval, fint *_type, ot *ptrtype) {
heapdump.go#L427: func finq_callback(fn *funcval, obj unsafe.Pointer, nret uintptr, fint *_type, ot *ptrtype) {
iface.go#L30: func itabHashFunc(inter *interfacetype, typ *_type) uintptr {
iface.go#L44: func getitab(inter *interfacetype, typ *_type, canfail bool) *itab {
iface.go#L107: func (t *itabTableType) find(inter *interfacetype, typ *_type) *itab {
iface.go#L274: func panicdottypeE(have, want, iface *_type) {
iface.go#L280: func panicdottypeI(have *itab, want, iface *_type) {
iface.go#L281: var t *_type
iface.go#L290: func panicnildottype(want *_type) {
iface.go#L318: uint16Type *_type = efaceOf(&uint16Eface)._type
iface.go#L319: uint32Type *_type = efaceOf(&uint32Eface)._type
iface.go#L320: uint64Type *_type = efaceOf(&uint64Eface)._type
iface.go#L321: stringType *_type = efaceOf(&stringEface)._type
iface.go#L322: sliceType *_type = efaceOf(&sliceEface)._type
iface.go#L334: func convT(t *_type, v unsafe.Pointer) unsafe.Pointer {
iface.go#L348: func convTnoptr(t *_type, v unsafe.Pointer) unsafe.Pointer {
iface.go#L449: func assertE2I(inter *interfacetype, t *_type) *itab {
iface.go#L457: func assertE2I2(inter *interfacetype, t *_type) *itab {
iface.go#L467: func typeAssert(s *abi.TypeAssert, t *_type) *itab {
iface.go#L507: func buildTypeAssertCache(oldC *abi.TypeAssertCache, typ *_type, tab *itab) *abi.TypeAssertCache {
iface.go#L531: addEntry := func(typ *_type, tab *itab) {
iface.go#L544: addEntry((*_type)(unsafe.Pointer(e.Typ)), (*itab)(unsafe.Pointer(e.Itab)))
iface.go#L561: func interfaceSwitch(s *abi.InterfaceSwitch, t *_type) (int, *itab) {
iface.go#L613: func buildInterfaceSwitchCache(oldC *abi.InterfaceSwitchCache, typ *_type, case_ int, tab *itab) *abi.InterfaceSwitchCache {
iface.go#L637: addEntry := func(typ *_type, case_ int, tab *itab) {
iface.go#L651: addEntry((*_type)(unsafe.Pointer(e.Typ)), e.Case, (*itab)(unsafe.Pointer(e.Itab)))
malloc.go#L983: func mallocgc(size uintptr, typ *_type, needzero bool) unsafe.Pointer {
malloc.go#L1056: var header **_type
malloc.go#L1168: header = (**_type)(x)
malloc.go#L1385: func newobject(typ *_type) unsafe.Pointer {
malloc.go#L1401: func reflect_unsafe_New(typ *_type) unsafe.Pointer {
malloc.go#L1406: func reflectlite_unsafe_New(typ *_type) unsafe.Pointer {
malloc.go#L1423: func newarray(typ *_type, n int) unsafe.Pointer {
malloc.go#L1449: func reflect_unsafe_NewArray(typ *_type, n int) unsafe.Pointer {
mbarrier.go#L191: func wbZero(typ *_type, dst unsafe.Pointer) {
mbarrier.go#L204: func wbMove(typ *_type, dst, src unsafe.Pointer) {
mbarrier.go#L225: func reflect_typedmemmove(typ *_type, dst, src unsafe.Pointer) {
mbarrier.go#L242: func reflectlite_typedmemmove(typ *_type, dst, src unsafe.Pointer) {
mbarrier.go#L256: func reflectcallmove(typ *_type, dst, src unsafe.Pointer, size uintptr, regs *abi.RegArgs) {
mbarrier.go#L283: func typedslicecopy(typ *_type, dstPtr unsafe.Pointer, dstLen int, srcPtr unsafe.Pointer, srcLen int) int {
mbarrier.go#L350: func reflect_typedslicecopy(elemType *_type, dst, src slice) int {
mbarrier.go#L368: func typedmemclr(typ *_type, ptr unsafe.Pointer) {
mbarrier.go#L387: func reflect_typedmemclr(typ *_type, ptr unsafe.Pointer) {
mbarrier.go#L392: func reflect_typedmemclrpartial(typ *_type, ptr unsafe.Pointer, off, size uintptr) {
mbarrier.go#L404: func reflect_typedarrayclear(typ *_type, ptr unsafe.Pointer, len int) {
mbitmap.go#L140: typ *_type
mbitmap.go#L188: var typ *_type
mbitmap.go#L191: typ = *(**_type)(unsafe.Pointer(addr))
mbitmap.go#L641: func (span *mspan) writeHeapBitsSmall(x, dataSize uintptr, typ *_type) (scanSize uintptr) {
mbitmap.go#L705: func heapSetType(x, dataSize uintptr, typ *_type, header **_type, span *mspan) (scanSize uintptr) {
mbitmap.go#L723: spaceNeeded := alignUp(unsafe.Sizeof(_type{}), goarch.PtrSize)
mbitmap.go#L736: gctyp = (*_type)(unsafe.Pointer(progSpan.base()))
mbitmap.go#L782: func doubleCheckHeapPointers(x, dataSize uintptr, typ *_type, header **_type, span *mspan) {
mbitmap.go#L839: func doubleCheckHeapPointersInterior(x, interior, size, dataSize uintptr, typ *_type, header **_type, span *mspan) {
mbitmap.go#L917: func doubleCheckTypePointersOfType(s *mspan, typ *_type, addr, size uintptr) {
mbitmap.go#L1378: func typeBitsBulkBarrier(typ *_type, dst, src, size uintptr) {
mbitmap.go#L1755: var et *_type
mfinal.go#L56: fint *_type // type of first argument of fn
mfinal.go#L94: func queuefinalizer(p unsafe.Pointer, fn *funcval, nret uintptr, fint *_type, ot *ptrtype) {
mfinal.go#L144: func iterate_finq(callback func(*funcval, unsafe.Pointer, uintptr, *_type, *ptrtype)) {
mheap.go#L488: largeType *_type // malloc header for large objects.
mheap.go#L1957: fint *_type // May be a heap pointer, but always live.
mheap.go#L1962: func addfinalizer(p unsafe.Pointer, f *funcval, nret uintptr, fint *_type, ot *ptrtype) bool {
netpoll.go#L728: pdType *_type = efaceOf(&pdEface)._type
plugin.go#L85: t := toRType((*_type)(unsafe.Pointer(md.types))).typeOff(ptab.typ) // TODO can this stack of conversions be simpler?
race0.go#L19: func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") }
race0.go#L20: func raceWriteObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) { throw("race") }
runtime1.go#L675: return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off)))
runtime1.go#L691: return toRType((*_type)(rtype)).textOff(textOff(off))
runtime1.go#L705: return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off)))
runtime2.go#L211: _type *_type
slice.go#L38: func makeslicecopy(et *_type, tolen int, fromlen int, from unsafe.Pointer) unsafe.Pointer {
slice.go#L101: func makeslice(et *_type, len, cap int) unsafe.Pointer {
slice.go#L119: func makeslice64(et *_type, len64, cap64 int64) unsafe.Pointer {
slice.go#L177: func growslice(oldPtr unsafe.Pointer, newLen, oldCap, num int, et *_type) slice {
slice.go#L332: func reflect_growslice(et *_type, old slice, num int) slice {
stubs.go#L266: func reflectcall(stackArgsType *_type, fn, stackArgs unsafe.Pointer, stackArgsSize, stackRetOffset, frameSize uint32, regArgs *abi.RegArgs)
symtab.go#L433: typemap map[typeOff]*_type // offset to *_rtype in previous module
symtab.go#L463: var pinnedTypemaps []map[typeOff]*_type
type.go#L18: type _type = abi.Type
type.go#L161: func resolveTypeOff(ptrInModule unsafe.Pointer, off typeOff) *_type {
type.go#L186: return (*_type)(res)
type.go#L196: return (*_type)(unsafe.Pointer(res))
type.go#L199: func (t rtype) typeOff(off typeOff) *_type {
type.go#L276: typehash := make(map[uint32][]*_type, len(firstmoduledata.typelinks))
type.go#L284: var t *_type
type.go#L286: t = (*_type)(unsafe.Pointer(prev.types + uintptr(tl)))
type.go#L304: tm := make(map[typeOff]*_type, len(md.typelinks))
type.go#L308: t := (*_type)(unsafe.Pointer(md.types + uintptr(tl)))
type.go#L325: t1 *_type
type.go#L326: t2 *_type
type.go#L345: func typesEqual(t, v *_type, seen map[_typePair]struct{}) bool {
typekind.go#L10: func isDirectIface(t *_type) bool {
unsafe.go#L53: func unsafeslice(et *_type, ptr unsafe.Pointer, len int) {
unsafe.go#L74: func unsafeslice64(et *_type, ptr unsafe.Pointer, len64 int64) {
unsafe.go#L82: func unsafeslicecheckptr(et *_type, ptr unsafe.Pointer, len64 int64) {
unsafe.go#L117: func reflect_unsafeslice(et *_type, ptr unsafe.Pointer, len int) {
 |
The pages are generated with Golds v0.7.6. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |